package org.jeecg.modules.htxincailiao.payment.constant;

import org.jeecg.domain.BaseEnum;

public enum HTPaymentStatusEnum implements BaseEnum {
    //支付类型: 0-待支付 1-已支付 2-已取消

    /**
     * 待支付
     */
    WAITING_PAYMENT(0, "待支付"),

    /**
     * 已支付
     */
    PAID(1, "已支付"),

    /**
     * 已取消
     */
    CANCEL(2, "已取消");


    private Integer value;

    private String desc;

    HTPaymentStatusEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }


    /**
     * 获取枚举类的值
     *
     * @return Integer
     */
    @Override
    public Integer getValue() {
        return value;
    }

    /**
     * 获取枚举类的说明
     *
     * @return String
     */
    @Override
    public String getDesc() {
        return this.desc;
    }
}
